﻿<%@ Page Language="C#" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<script language="javascript">
    var viewType = 1; //视图
</script>
<head runat="server">
    <title>收银业务操作</title>
    <link href="../../../../WebPlugin/jquery-easyui/themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <link href="../../../../WebPlugin/jquery-easyui/themes/icon.css" rel="stylesheet" type="text/css" />
    <link href="../../../../WebPlugin/jquery-easyui/floor/floor.css" rel="stylesheet" type="text/css" />
    <script src="../../../../WebPlugin/jquery-easyui/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="../../../../WebPlugin/jquery-easyui/jquery.easyui.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../../../WebPlugin/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
    <script src="../../../../WebPlugin/jquery-easyui/floor/jquery.floor.js" type="text/javascript"></script>
    <script src="../../../../WebPlugin/jquery-easyui/JQueryCommon.js" type="text/javascript"></script>
    <script src="../../PageJS/Cost/RoomBrowseManager.js" type="text/javascript"></script>

    <script src="../../PageJS/Cost/CashManager.js" type="text/javascript"></script>
    <script src="../../PageJS/Cost/HistoryCash.js" type="text/javascript"></script>
    <script src="../../PageJS/Cost/CarportOperation.js" type="text/javascript"></script>
    <script src="../../PageJS/Cost/CustomerOperation.js" type="text/javascript"></script>
</head>
<body  class="easyui-layout">
    <div region="center"  border="false" >
      <div  fit="true"  id="floor" style="padding:0px;" title="收银业务操作" iconCls="icon-ok" border="false">
	    <div id="tool" class="toolbar" style="display:none">
	        <table cellpadding="0" cellspacing="0" style="width:100%">
			<tr>
				<td style="padding-left:2px">           
		                <a href="#" class="easyui-linkbutton" plain="true" iconCls="icon-reload" onclick="$('#floor').floor('reload');">刷新</a>
		                <a href="#" class="easyui-linkbutton" plain="true" iconCls="icon-add" onclick="btn_cashmanager_show();">收银</a>   
		                <a href="#" class="easyui-linkbutton" plain="true" iconCls="icon-add" onclick="btn_historycash_show();">收银记录</a>
		                <a href="#" class="easyui-linkbutton" plain="true" iconCls="icon-print">打印催款单</a>
		                <a href="#" class="easyui-linkbutton" plain="true" iconCls="icon-add">查看详细</a> 
		                <a id="mmroom" href="#" class="easyui-menubutton" plain="true" menu="#mm2" iconCls="icon-add">房间操作</a>
		                <a id="mmshop" href="#" class="easyui-menubutton" plain="true" menu="#mm22" iconCls="icon-add">门面操作</a>
		                <a id="mmcar" href="#" class="easyui-menubutton" plain="true" menu="#mm3" iconCls="icon-add">车位操作</a>
		                <a id="mmclient" href="#" class="easyui-menubutton" plain="true" menu="#mm4" iconCls="icon-add">客户操作</a>
				</td>
				<td style="text-align:right;padding-right:2px">
				    <a href="#"  class="easyui-menubutton" plain="true" iconCls="icon-search" menu="#mm1"><label id="highsearch">分类查询[住宅]</label></a>
					<input class="easyui-searchbox"></input>
				</td>
			</tr>
		    </table>	   
	    </div>
	        <div id="mm1" style="width:120px;">
		        <div iconCls="icon-ok" onclick="floorhome_show();">住宅</div>
		        <div iconCls="icon-ok" onclick="floorshop_show();">门面</div>
		        <div iconCls="icon-ok" onclick="floorcar_show();">车位</div>
		        <div iconCls="icon-ok" onclick="floorclientele_show();">客户</div>
	        </div>
	        <div id="mm2" style="width:120px;">
		        <div iconCls="icon-ok" onclick="btn_roomjoin();">入伙登记</div>
		        <div iconCls="icon-ok" onclick="btn_cancelroomjoin();">取消登记</div>
	        </div>
	        <div id="mm22" style="width:120px;">
		        <div iconCls="icon-ok" onclick="btn_shopjoin();">入伙登记</div>
		        <div iconCls="icon-ok" onclick="btn_cancelshopjoin();">取消登记</div>
	        </div>
	        <div id="mm3" style="width:90px;">
		        <div iconCls="icon-ok" onclick="btn_carportjoin();">销售车位</div>
		        <div iconCls="icon-ok" onclick="btn_cancelcarportjoin();">停售车位</div>
	        </div>
	        <div id="mm4" style="width:90px;">
		        <div iconCls="icon-ok" onclick="btn_customerjoin();">新增客户</div>
		        <div iconCls="icon-ok" onclick="btn_cancelcustomerjoin();">删除客户</div>
	        </div>
        </div>
    </div>
</body>

<%--弹出窗口--%>

<%--高级查询--%>
<div id="dlg-button" style="display:none">           
	<a href="#" class="easyui-linkbutton" onclick="dialog_highsearch_queding();">确定</a>
	<a href="#" class="easyui-linkbutton" onclick="dialog_highsearch_close();">取消</a>   
</div>
<div id="dialog-highsearch" title="高级查询" class="easyui-dialog" buttons="#dlg-button" icon="icon-save" style="background:#fafafa;padding:10px;width:400px;height:200px;" modal="true">
    <table>
       <tr>
            <td><label>选择区域:</label></td>
            <td><input id="cbarea" class="easyui-combobox" style="width:200px" type="text"  valueField="Code" textField="Name" required="true" value="01" url="../Controller.aspx?controller=RoomBrowseController&method=GetAreaList"></input></td>
       </tr>
       <tr>
            <td><label>选择楼栋:</label></td>
            <td><input id="cbbuild" class="easyui-combobox" style="width:200px" type="text"  valueField="Code" textField="Name" required="true" value="01" url="../Controller.aspx?controller=RoomBrowseController&method=GetBuildList&areacode=01"></input></td>
       </tr>
        <tr>
            <td></td>
            <td><input id="saleflag" type="checkbox" value="1"/>未售出房间</td>
             
       </tr>      
       </table>
</div>

<div id="dlg-searchownerbutton" style="display:none">           
	<a href="#" class="easyui-linkbutton" onclick="dlg_btnsearchowner_queding();">确定</a>
	<a href="#" class="easyui-linkbutton" onclick="$('#dlg-searchowner').dialog('close');">取消</a>   
</div>
<div id="dlg-searchowner" title="查询人员" class="easyui-dialog" buttons="#dlg-searchownerbutton" icon="icon-save" style="background:#fafafa;padding:2px;width:500px;height:480px;" modal="true">
<div class="easyui-layout" fit="true">
    <div region="north"  style="background:#fafafa;padding:2px;" border="false" >
     <table>
       <tr>
            <td><label>输入姓名:</label></td>
            <td><input id="dlgsearch_ownername" class="easyui-validatebox" style="width:200px" type="text"></input></td>
       </tr>
       <tr>
            <td><label>输入电话号码:</label></td>
            <td><input id="dlgsearch_tel" class="easyui-validatebox" style="width:200px" type="text"></input></td>
       </tr>
        <tr>
            <td><label>输入证件号:</label></td>
            <td><input id="dlgsearch_number" class="easyui-validatebox" style="width:200px" type="text"></input>
            <a href="#" class="easyui-linkbutton" onclick="dlg_btnsearchowner_search();">查询</a></td>
       </tr>      
       </table>
	</div>
	<div region="center" border="false" >
	     <table id="ownerlistGrid"  class="easyui-datagrid" fit="true" border="false" pagination="true" singleSelect="true">
	             <thead>
		            <tr>
			            <th field="Name" width="75">姓名</th>
			            <th field="Sex" width="50">性别</th>
			            <th field="OftenMobile" width="80">电话号码</th>
			            <th field="CardNum" width="120">证件号码</th>
		            </tr>
	            </thead>
	       </table>
	</div>
	<input type="hidden" id="searchownerType" />
</div> 
</div>

<!--#include file="CashManager.aspx" -->
<!--#include file="HistoryCash.aspx" -->
<!--#include file="RoomOperation.aspx" -->
<!--#include file="ShopOperation.aspx" -->
<!--#include file="CarportOperation.aspx" -->
<!--#include file="CustomerOperation.aspx" -->
</html>
